blob: 6cac73779009a073a1d874c01ee6f42a581e9869 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import BookmarkPreview from "@/components/dashboard/preview/BookmarkPreview";
import { api } from "@/server/api/client";
export default async function BookmarkPreviewPage({
params,
}: {
params: { bookmarkId: string };
}) {
const bookmark = await api.bookmarks.getBookmark({
bookmarkId: params.bookmarkId,
});
return (
<div className="max-h-screen">
<BookmarkPreview initialData={bookmark} />
</div>
);
}
|